@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]
@sm_fra = 0.16

BRS = { # Bresil
	
	
	pattern = "pattern_rhombus.dds"
	color1 = "red_dark"
	color2 = "yellow"	
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red_dark"
		
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }		
	}		
				
}

ODO = { #Odonia
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = white
	color3 = blue_light
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "red"
		
		instance = { scale = { 0.50 0.50 } position = { 0.5 0.5 } }
	}

}

ODO_monarchy = { #Odonia
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = blue
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "green"
		color2 = "orange"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.65 } }
	}
	
	textured_emblem = {
		texture = "te_coa_uruguay.dds"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_ribbon.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 0.12 0.12 } position = { 0.5 0.84 } }
	}
	

}

ODO_communist = { #Odonia
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = white
	color3 = blue_light
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_bend_dexter.dds"
		color1 = "red"

	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		
		instance = { scale = { 0.30 0.30 } position = { 0.5 0.5 } }
	}
}


ODO_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_cross_fleury.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }			
	}
}

NEA = { #Nouvelle Alasce
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_bend_sinister_triple.dds"
		color1 = "white"
		
	}
	

		
			
}

NEA_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	color3 = "yellow"

	colored_emblem = {
		texture = "ce_tricolor_bend.dds"
		color1 = "white"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_hammer_wheat.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.83 0.71 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.175 0.26 } }			
	}		
}

NEA_monarchy = { 
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_nea.dds"
		color1 = color2
	}
	
}

NEA_subject_BRG = { 
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_nea.dds"
		color1 = color2
	}

}


NEA_fascist = { 
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = red

	colored_emblem = {
		texture = "ce_cross_nea.dds"
		color1 = color2
	}
	
}

ATL = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"

	colored_emblem = {
		texture = "ce_atlantian_rooster.dds"
		color1 = yellow
		instance = { scale = { 0.75 0.75 } position = { 0.3 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 1.0 } position = { 0.8 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }		
	}		
}

ATL_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "purple"

	colored_emblem = {
		texture = "ce_atlantian_rooster.dds"
		color1 = yellow
		instance = { scale = { 0.75 0.75 } position = { 0.3 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 1.0 } position = { 0.8 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }		
	}		
}

ATL_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_hammer_sickle_star_cogwheel.dds"
		color1 = yellow
		color2 = yellow
		instance = { scale = { 0.75 0.75 } position = { 0.3 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.4 1.0 } position = { 0.8 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }		
	}		
}

ATL_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"

	colored_emblem = {
		texture = "ce_star_hexagram.dds"
		color1 = white
		instance = { scale = { 0.85 0.85 } position = { 0.3 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_cross_order_christ.dds"
		color1 = white
		instance = { scale = { 0.25 0.25 } position = { 0.3 0.5 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 1.0 } position = { 0.8 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.2 1.0 } position = { 0.9 0.5 } }		
	}		
}

ATL_dictatorship = { 
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_atlantian_rooster.dds"
		color1 = "red"
		color2 = "red"
	}
}

ATL_fascist = { 
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_atlantian_rooster.dds"
		color1 = "red"
		color2 = "red"
	}
}

ATL_subject_SPA = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	textured_emblem = {
		texture = "te_atlantia_tricolonial.dds"
		
		instance = { scale = { 0.85 0.99 } position = { 0.41 0.5 } }
	}
	
	textured_emblem = {
		texture = "te_golden_board.dds"
		
		instance = { scale = { 0.45 0.45 } position = { 0.65 0.5 } }
	}	
			
}

FRS = {
	# Tungning
	
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_chinese_peacock.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.4 0.5 } }	
	}	
}

FRS_republic = {
	pattern = "pattern_border_of_4.dds"
	color1 = "black"
	color2 = "red"


	colored_emblem = {
		texture = "ce_sun.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.38 0.38 } position = { 0.5 0.5 } }		
	}	
}

FRS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.5 0.5 } scale = { 0.66 0.66 } }
	}
}

FRS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }				
	}
	colored_emblem = {
		texture = "ce_chinese_peacock.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "blue_light"
		instance = { scale = { 0.52 0.52 } position = { 0.75 0.51 } }			
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.08 0.08 } position = { 0.75 0.52 } }		
	}		
}

NAN = {
	# Nanjing
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 @[third*2] } position = { 0.50 0.50 } }			
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 @third } position = { 0.50 0.50 } }			
	}	
}

NAN_monarchy = {
	# Nanjing
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_dragon_china.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 @[third*2] } position = { 0.50 0.50 } }			
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 @third } position = { 0.50 0.50 } }			
	}	
}

NAN_communist = {
	# Nanjing
	
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 @[third*2] } position = { 0.50 0.50 } }			
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 @third } position = { 0.50 0.50 } }			
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { position = { 0.5 0.5 } scale = { 0.66 0.66 } }
	}
}

NAN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }				
	}
	colored_emblem = {
		texture = "ce_dragon_china_circle.dds"
		color1 = "blue"
		color2 = "white"
		color3 = "blue_light"
		instance = { scale = { 0.52 0.52 } position = { 0.75 0.51 } }			
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.08 0.08 } position = { 0.75 0.52 } }		
	}		
}

AMA = { #Amazonie
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = blue_light
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = {
			scale = { @[1/3] 1.0 }
			position = { @[5/6] 0.5 }
		}
	}
}

LOT = { #Lotharingia
	pattern = "pattern_solid.tga"
	color1 = white
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = blue_light
	}
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = color1
		instance = {
			position = { 0.5 0.4 }
		}
	}
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = red
		instance = {
			scale = { 0.4 0.5 }
			position = { 0.25 0.225 }
		}
	}
}

LOT_dictatorship = { #Lotharingia
	pattern = "pattern_solid.tga"
	color1 = white
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = blue_light
	}
	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = color1
		instance = {
			position = { 0.5 0.4 }
		}
	}
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = red
		instance = {
			scale = { 0.4 0.5 }
			position = { 0.25 0.225 }
		}
	}
}

LOT_republic = {
	
	
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue_light"
	}	
	
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}	
}

LOT_monarchy = {	
	pattern = "pattern_horizontal_split_01.tga"
	color1 = "white"
	color2 = "blue_light"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.42 0.52 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 0.4 0.5 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.5 } position = { 0.5 0.5 } }
	mask = { 2 }
	}		
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}	
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.19 } }
	}	
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.70 0.70 } position = { 0.5 0.58 } }
		color1 = "green"
		color2 = "red"		
	}
    colored_emblem = {
		texture = "ce_eagle_crown.dds"
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.10 } }
		color1 = "red"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.16 0.16 } position = { 0.5 0.78 } }
		color1 = "yellow"
		color2 = "yellow"		
	}		
}

LOT_republic = {
	
	
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue_light"
	}	
	
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}	
}

LOT_theocracy = {	
	pattern = "pattern_horizontal_split_01.tga"
	color1 = "white"
	color2 = "blue_light"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.42 0.52 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 0.4 0.5 } position = { 0.5 0.5 } }
	}		
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.4 0.5 } position = { 0.5 0.5 } }
	mask = { 2 }
	}		
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.5 } }
	}	
		
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.70 0.70 } position = { 0.5 0.58 } }
		color1 = "green"
		color2 = "red"		
	}
   	
			
}

LOT_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_bend_2.dds"
		color1 = "white"
		color2 = "blue_light"
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.3 0.3 }	}
		
	}
		
			
}

LOT_subject_GBR = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }		
	}	
	colored_emblem = {
		texture = "ce_cross_hlinka.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }			
	}
}

AME = { #Ameriga
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = blue_light
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_atlantian_rooster.dds"
		color1 = "red"
		
		instance = { scale = { 0.65 0.65 } position = { 0.51 0.5 } }
	}
}

BEO = { #Beornia
	pattern = "pattern_cross.dds"
	color1 = white
	color2 = red
	colored_emblem = {
		texture = "ce_cross_fleury.dds"
		color1 = color2
		instance = {
			position = { 0.22 0.2 }
			scale = { 0.4 0.4 }
		}
	}
}

HBE = { #Holy Britannian Empire
	pattern = "pattern_solid.tga"
	color1 = blue
	
	colored_emblem = {
		texture = "ce_cross_cotised.dds"
		color1 = red
		color2 = white
	}
	textured_emblem = {
		texture = "te_hbesymbol.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	
	}
}

RTH = {
	pattern = "pattern_solid.tga"
	color1 = blue_light

	textured_emblem = {
		texture = "te_ruthenia.dds"
		instance = { scale = { 0.5 1.0 } position = { 0.5 0.5 } }	
	}
}

HBE_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue

	colored_emblem = {
		texture = "ce_cross_cotised.dds"
		color1 = red
		color2 = white
	}
}

TGI = { #Taragui
	pattern = "pattern_solid.tga"
	color1 = green
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = white
		color2 = green
	}
	textured_emblem = {
	    texture = "te_coa_taragui.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5} }
	}
}

BLC = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = red

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = color2
		color2 = color1
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color3
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.5 } }
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.28 } }
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.72 } }
		instance = { scale = { 0.15 0.15 } position = { 0.35 0.39 } }
		instance = { scale = { 0.15 0.15 } position = { 0.35 0.61 } }
		instance = { scale = { 0.15 0.15 } position = { 0.65 0.39 } }
		instance = { scale = { 0.15 0.15 } position = { 0.65 0.61 } }
	}
}

BLC_monarchy = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "green"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = "yellow"
		color2 = color3
		color3 = "black"
	}
	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = color1
		color3 = color3
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.15 } }
	}
	
	colored_emblem = {
		texture = "ce_royal_mantle.dds"
		color1 = color2
		color2 = "yellow"
		color3 = color1
		instance = { scale = { 0.8 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color1
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color3
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.5 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.43 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.57 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.53 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.53 } }
	}
}

BLC_monarchy_burgundy = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "green"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color3
	}
	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = color1
		color3 = color3
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.15 } }
	}
	
	colored_emblem = {
		texture = "ce_royal_mantle.dds"
		color1 = color2
		color2 = "yellow"
		color3 = color1
		instance = { scale = { 0.8 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color1
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color3
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.5 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.43 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.57 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.53 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.53 } }
	}
}

BLC_monarchy_belgian_tri = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "green"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "black"
		color2 = "yellow"
	}
	
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = color3
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.15 } }
	}
	
	colored_emblem = {
		texture = "ce_royal_mantle.dds"
		color1 = color2
		color2 = "yellow"
		color3 = "white"
		instance = { scale = { 0.8 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = "white"
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color3
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.5 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.43 } }
		instance = { scale = { 0.08 0.08 } position = { 0.5 0.57 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.46 0.53 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.47 } }
		instance = { scale = { 0.08 0.08 } position = { 0.54 0.53 } }
	}
}

BLC_communist = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_bend_sinister_triple.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_gear.dds"
		color1 = color1
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.5 } }
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.4 } }
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.6 } }
		instance = { scale = { 0.1 0.1 } position = { 0.45 0.45 } }
		instance = { scale = { 0.1 0.1 } position = { 0.45 0.55 } }
		instance = { scale = { 0.1 0.1 } position = { 0.55 0.45 } }
		instance = { scale = { 0.1 0.1 } position = { 0.55 0.55 } }
	}
	
}

BLC_fascist = { #Belgian Confederation
	pattern = "pattern_rhombus.dds"
	color1 = "green"
	color2 = "white"
	color3 = "red"
	
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = color3
		color3 = color3
		instance = { scale = { 0.8 0.8 }  position = { 0.49 0.49 } }
	}
	
	colored_emblem = {
		texture = "ce_bugal.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.35 0.35 } position = { 0.49 0.49 } rotation = -45 }
	}
	colored_emblem = {
		texture = "ce_sword.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { -0.35 0.35 } position = { 0.5 0.5 } rotation = 45 }
	}
	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = color3
		color2 = color3
		instance = { scale = { 0.1 0.1 } position = { 0.5 0.35 } }
	}
}

BLC_colony = { #Belgian Confederation
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = red

	colored_emblem = {
		texture = "ce_star_07.dds"
		color1 = color2
		color2 = color1
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.75 } }
	}

	colored_emblem = {
		texture = "ce_big_dipper.dds"
		color1 = color2
		instance = { scale = { -0.65 -0.65 } position = { 0.65 0.5 } }
	}
}

PLA = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "white"

	sub = {
		parent = "sub_PLA_fleur_de_lis"
	}
	sub = {
		parent = "sub_plantagenet_lions"
		instance = { scale = { 0.45 0.4 } }
	}
}

PLA_republic = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.09 0.5 } }
		instance = { scale = { 0.4 0.4 } position = { 0.32 0.5 } }
		instance = { scale = { 0.4 0.4 } position = { 0.62 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_c.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.2 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_d.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.44 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.53 0.5 } }
		instance = { scale = { 0.4 0.4 } position = { 0.83 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_n.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.74 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "yellow"
		instance = { scale = { 0.4 0.4 } position = { 0.91 0.5 } }
	}
}

PLA_republic_wordless = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "blue"
		color2 = "white"
	}
}

PLA_communist = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_stripe_bottom.dds"
		color1 = "red"
	}
	colored_emblem = {
		texture = "ce_frame_ddr_sun_bg.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.7 0.7 } position = { 0.25 0.4 } rotation = -180 }		
	}
	colored_emblem = {
		texture = "ce_coa_frame_cotton.dds"
		color1 = "green"
		color2 = "white"
		color3 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.4 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.35 0.35 } position = { 0.25 0.4 } }		
	}
}

PLA_dictatorship = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		instance = { scale = { 0.5 0.42 } position = { 0.21 0.2 } }
	}
	sub = {
		parent = "PLA_republic"
		instance = { scale = { 0.45 0.4 } }
	}
}

PLA_fascist = { #Plantagenia
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = "white"
		color2 = "yellow"
	}
	colored_emblem = {
		texture = "ce_eagle_italy_fascist.dds"
		color1 = "blue"
		color3 = "white"	
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_cross_switzerland.dds"
		color1 = "blue"
		color3 = "white"	
		instance = { scale = { 0.1 0.1 } position = { 0.45 0.4 } }
		instance = { scale = { 0.1 0.1 } position = { 0.55 0.4 } }
	}
	colored_emblem = {
		texture = "ce_christian_cross.dds"
		color1 = "blue"
		color3 = "white"	
		instance = { scale = { 0.15 0.15 } position = { 0.5 0.39 } }
	}
}

VIN = { #Vinland
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color1
	}
}

VIN_monarchy = { #Monarchist Vinland
    pattern = "pattern_solid.tga"
    color1 = red
    color2 = white

    colored_emblem = {
        texture = "ce_cross_norway.dds"
        color1 = color2
        color2 = color1
    }
    colored_emblem = {
        texture = "ce_crown_swedish.dds"
        color1 = color2
        instance = { scale = { 0.3 0.4 } position = { 0.13 0.2 } }
    }
}

VIN_dictatorship = { #dictatorship Vinland
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color1
	}
	textured_emblem = {
		texture = "te_coa_vinland.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.33 0.52 } }
	}
}

VIN_communist = { #communist Vinland
    pattern = "pattern_solid.tga"
    color1 = red
    color2 = white

    colored_emblem = {
        texture = "ce_stripe_bottom.dds"
        color1 = "blue"
        color2 = "white"
    }
    colored_emblem = {
        texture = "ce_stripe_bottom_raised.dds"
        color1 = "white"
        color2 = "blue"
    }
	colored_emblem = {
        texture = "ce_laurel.dds"
        color1 = "white"
        color2 = "white"
		
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.35 } }
    }
	colored_emblem = {
        texture = "ce_gear.dds"
        color1 = "white"
        color2 = "blue"
		
		instance = { scale = { 0.35 0.35 } position = { 0.5 0.32 } }
    }
	colored_emblem = {
        texture = "ce_circle.dds"
        color1 = "white"
        color2 = "blue"
		
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.32 } }
    }		
	colored_emblem = {
        texture = "ce_star_05.dds"
        color1 = "blue"
        color2 = "blue"
		
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.32 } }
    }
}

VIN_fascist = { #fascist Vinland
    pattern = "pattern_solid.tga"
    color1 = red
    color2 = white

    colored_emblem = {
        texture = "ce_dvg_vinland_runes.dds"
        color1 = color2
        color2 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.25 0.25 } }
    }
    colored_emblem = {
        texture = "ce_dvg_norse_raven.dds"
        color1 = color2
		color2 = color1
        instance = { scale = { 0.8 0.8 } position = { 0.70 0.50 } }
    }
}

VIN_subject = { #vinland colony
    pattern = "pattern_solid.tga"
    color1 = "white"
    
    textured_emblem = {
        texture = "te_coa_vinland.dds"
        instance = { scale = { 0.6 0.6 } position = { 0.75 0.50 } }
    }
}

ARC = { #Arcadia
	pattern = "pattern_solid.tga"
	color1 = orange
	color2 = white
	color3 = blue

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color3
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.8 0.8 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		instance = { scale = { 0.4 0.4 } }
	}
}

QIN = { #Qingqiu
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white

	colored_emblem = {
		texture = "ce_dvg_qingqiu.dds"
		color1 = color2
	}
}

QIN_republic = { #Qingqiu
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = color2
	}

	colored_emblem = {
		texture = "ce_dvg_qingqiu.dds"
		color1 = color1
		instance = { position = { 0.25 0.50 } }
	}
}

QIN_communist = { #Qingqiu
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_canton.dds"
		color1 = color2
	}
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		color1 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.25 0.20 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_circle.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 0.3 0.3 } position = { 0.25 0.17 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		instance = { scale = { 0.1 0.1 } position = { 0.25 0.4 } }
		instance = { scale = { 0.1 0.1 } position = { 0.2 0.4 } }
		instance = { scale = { 0.1 0.1 } position = { 0.3 0.4 } }
	}
}

QIN_fascist = { #Qingqiu
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 1.0 1.5 } }
	}
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 1.0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_dvg_fu.dds"
		color1 = "white"
		color2 = "red"
	}
}

KKN = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
	}
}

KKN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_bicolor_left_third.dds"
		color1 = "white"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_dvg_kita_kaigan.dds"
		color1 = "red"
		color2 = "red"
		
		instance = { position = { 0.17 0.5 } }
	}
}

KKN_republic_alt = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_bicolor_left_third.dds"
		color1 = "white"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
		
		instance = { scale = { 1.0 1.0 } position = { 0.65 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_dvg_kita_kaigan.dds"
		color1 = "red"
		color2 = "red"
		
		instance = { position = { 0.17 0.5 } }
	}
}

KKN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_chevron.dds"
		color1 = "white"
		color2 = "red"
		instance = { scale = { 1.0 0.5 } position = { 0.5 0.8 } }
	}
	
	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = "white"
		color2 = "red"
		
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.3 } }
	}
}

KKN_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"
	
	colored_emblem = {
		texture = "ce_bicolor_left_third.dds"
		color1 = "white"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_black_tortoise.dds"
		color1 = "black"
		color2 = "white"
		
		instance = { scale = { 0.7 0.7 } position = { 0.65 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_kanji_northeast.dds"
		color1 = "red"
		color2 = "red"
		
		instance = { position = { 0.17 0.5 } }
	}
}

KKN_raising_sun = {
	pattern = "pattern_gironny_32.dds"
	color1 = "red"
	color2 = "white"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		color2 = color2
		color3 = color2
	}
}

KKN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
		
		instance = { scale = { 0.7 0.7 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_kanji_north.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.5 } }
	}
}

KKN_subject_JAP = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
	}
	
	colored_emblem = {
		texture = "ce_kanji_north.dds"
		color1 = "black"
		color2 = "black"
	}
}

RHN = { #Rohnnst
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = yellow
	color3 = green

	colored_emblem = {
		texture = "ce_tricolor_horizontal_fifth.dds"
		color1 = color2
		color2 = color3
	}
}

ATH = { #Athesia
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		instance = { scale = { 0.25 0.25 } position = { 0.15 @[1/6] } }
	}
}

SFJ = { #Sydoe
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = black
	color3 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal_fifth.dds"
		color1 = color2
		color2 = color3
	}
}

SFJ_scandinavia = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = red
		color2 = red
	}

	colored_emblem = {
		texture = "ce_bicolor_left_third.dds"
		color1 = black
	}
}

DUA = { #Dual Monarchy
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red
	color4 = yellow

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = color4
		instance = { scale = { 0.3 0.3 } position = { @[1-(299/768/2)] @[171/512/2] } }
		instance = { scale = { 0.3 0.3 } position = { @[299/768/2] @[1-(171/512/2)] } }
		instance = { scale = { 0.3 0.3 } position = { @[1-(299/768/2)] @[1-(171/512/2)] } }
	}
	sub = {
		parent = "sub_plantagenet_lions"
		instance = { scale = { @[299/768] @[171/512] } }
	}
}
DUA_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
}
DUA_france = {
	pattern = "pattern_checkers_01.tga"
	color1 = "blue"
	color2 = "red"

	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red
	color4 = yellow

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color1
	}
	sub = {
        parent = "sub_FRA_coa" 
        instance = { scale = { 0.3 0.3 } offset = { 0.67 0.67 } } # bottom right
		instance = { scale = { 0.3 0.3 } offset = { 0.67 0.0 } } # top right
        instance = { scale = { 0.3 0.3 } offset = { 0.05 0.67 } } # bottom left
    } 
	
	sub = {
		parent = "sub_plantagenet_lions"
		instance = { scale = { @[299/768] @[171/512] } }
	}
}
DUA_britannie = {
	pattern = "pattern_checkers_01.tga"
	color1 = "blue"
	color2 = "red"

	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red
	color4 = yellow

	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = color4
		instance = { scale = { 0.3 0.3 } position = { @[1-(299/768/2)] @[171/512/2] } }
		instance = { scale = { 0.3 0.3 } position = { @[299/768/2] @[1-(171/512/2)] } }
		instance = { scale = { 0.3 0.3 } position = { @[1-(299/768/2)] @[1-(171/512/2)] } }
	}
	
	sub = {
		parent = "sub_plantagenet_lions_red"
		instance = { scale = { @[299/768] @[171/512] } }
	}
}
DUA_britannie_republic = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = green

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

BRG = { #Burgundy
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = color2
	}
}
BRG_republic = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

ARN_republic = { #Aragon
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
	}
	sub = {
		parent = "sub_aragon_republic_canton"
		instance = { scale = { @[4/9] @[4/9] } }
	}
}

PRO = { #Provence
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = yellow
	color3 = red

	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = color2
		instance = { scale = { 0.8 0.8 }position = { 0.5 0.6 } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		instance = { scale = { @[82/93] @[3/64] } position = { 0.5 @[6/64] } }
		instance = { scale = { @[3/93] @[8/64] } position = { 0.5 @[10/64] } }
		instance = { scale = { @[3/93] @[8/64] } position = { @[7/93] @[10/64] } }
		instance = { scale = { @[3/93] @[8/64] } position = { @[1-(7/93)] @[10/64] } }
	}
}
PRO_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = yellow

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
}

FRR = { #Ferrara
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_bicolor_top.dds"
		color1 = color2
	}
}
FRR_republic = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color1
	}
}

SPA_DVG = { #Spain
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.125 } }	
		instance = { scale = { 1.0 0.25 } position = { 0.5 0.875 } }			
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.35 0.35 } position = { 0.33 0.36 } }
	}		
    sub = {
        parent = "sub_SPA_coa" 
        instance = { scale = { 0.5 0.5 } offset = { 0.08 0.32 } }
    }	
}
SPA_DVG_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = purple
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	textured_emblem = {
		texture = "te_coa_spanish_republic.dds"
		instance = { position = { 0.5 0.51 }scale = { 0.45 0.45 } } 
	}
}

MCD = { #Macedonia
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = green
	color4 = red
	color5 = yellow

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = color5
		color2 = color3
		color3 = color4
		instance = { scale = { 0.4 0.4 } position = { 0.5 0.275 } }
	}
	colored_emblem = {
		texture = "ce_shield_accolade_modena.dds"
		color1 = color3
		color2 = color3
		color3 = color3
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_shield_accolade_modena.dds"
		color1 = color1
		color2 = color1
		color3 = color1
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_lion_rampant_crowned.dds"
		color1 = color4
		color2 = color5
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.525 } }
	}
}
MCD_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = green
	color4 = red
	color5 = yellow

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_shield_accolade_modena.dds"
		color1 = color3
		color2 = color3
		color3 = color3
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_shield_accolade_modena.dds"
		color1 = color1
		color2 = color1
		color3 = color1
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_lion_rampant_crowned.dds"
		color1 = color4
		color2 = color5
		color3 = color4
		instance = { scale = { 0.3 0.3 } position = { 0.5 0.475 } }
	}
}

PSK = { #Pskov
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = red
	color3 = blue

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
}

CRL = { #Courland
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_bicolor_top.dds"
		color1 = color2
	}
}
CRL_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	color3 = blue_light
	color4 = yellow

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = color3
	}
	colored_emblem = {
		texture = "ce_lion_rampant_crowned.dds"
		color1 = color2
		color2 = color4
		color3 = color2
		instance = { scale = { -0.4 0.4 } position = { 0.25 0.25 } }
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.75 } }
	}
	colored_emblem = {
		texture = "ce_deer_supporter.dds" #not this exact deer
		color1 = color1
		color2 = color2
		color3 = color1
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.25 } }
		instance = { scale = { -0.45 0.45 } position = { 0.25 0.75 } }
	}
}

SLZ = { #Salzburg
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_bicolor_top.dds"
		color1 = color2
	}
}

TYR = { #Tyrol
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	color3 = yellow
	color4 = green
	color5 = black

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		color1 = color5
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		color1 = color1
		instance = { scale = { 0.58 0.58 } }
	}
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = color2
		color2 = color3
		color3 = color1
		instance = { scale = { 0.48 0.48 } }
	}
}

NOV = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = rgb { 0 57 166 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color1
		color2 = color2
	}

	textured_emblem = {
		texture = "te_novgorod.dds"
		instance = { scale = { -1.0 1.0 } }
	}
}

NOV_republic = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = rgb { 0 57 166 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
}

NOV_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = rgb { 0 57 166 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color1
		color2 = color2
	}

	textured_emblem = {
		texture = "te_novgorod_crown.dds"
		instance = { position = { 0.49 0.34 } }
	}
}

BLO = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 197 11 30 }
	color2 = white

	textured_emblem = {
		texture = "te_vologda.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

BLO_republic = {
	pattern = "pattern_checkers_01.tga"
	color1 = rgb { 197 11 30 }
	color2 = rgb { 0 57 166 }
}

BLO_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 57 166 }

	textured_emblem = {
		texture = "te_beloozero_crown.dds"
		instance = { scale = { 1.55 1.55 } }
	}
}

UGG = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 218 37 29 }
	color2 = white

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color1
		color2 = color2
	}

	textured_emblem = {
		texture = "te_galich.dds"
		instance = { scale = { 1.25 1.25 } }
	}
}

UGG_republic = {
	pattern = "pattern_checkers_01.tga"
	color1 = rgb {  218 37 29 }
	color2 = white
}

UGG_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 218 37 29 }

	textured_emblem = {
		texture = "te_galich_crown.dds"
		instance = { scale = { 1.45 1.45 } }
	}
}

VYA = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 255 204 0 }

	textured_emblem = {
		texture = "te_vyatka.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

VYA_republic = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 255 204 0 }
	color2 = white

	colored_emblem = {
		texture = "ce_stripe_bottom_raised.dds"
		color1 = color2	
	}

	textured_emblem = {
		texture = "te_vyatka.dds"
		instance = { scale = { 0.54 0.54 } position = { 0.49 0.29 } }
	}
}

VYA_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = rgb { 255 204 0 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color1
		color2 = color2
	}

	textured_emblem = {
		texture = "te_vyatka_crown.dds"
		instance = { scale = { 0.62 0.62 } position = { 0.49 0.29 } }
	}
}

UDM = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "black"
	}
}

UDM_republic = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
}

PRM = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 197 11 30 }

	colored_emblem = {
		texture = "ce_deer.dds"
		color1 = white
		instance = { scale = { 0.79 0.79 }}
	}
}

PRM_republic = {
	pattern = "pattern_border_triangles.dds"
	color1 = rgb { 0 57 166 }
	color2 = yellow
	color3 = rgb { 0 57 166 }

	colored_emblem = {
		texture = "ce_deer.dds"
		color1 = white
		instance = { scale = { -0.75 0.75 } }
	}
}

MUS = { #Rus
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 57 166 }
	color2 = "white"

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = color2
	}

	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "red"
		color2 = "yellow_dark"
		instance = { scale = { 0.8 0.76 } position = { 0.25 0.49 } }		
	}	
	textured_emblem = {
		texture = "te_st_george_and_the_dragon.dds"
		instance = { scale = { 0.50 0.50 } position = { 0.25 0.5 } }
	}		
}

MUS_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = red
	}
	
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "red"
		color2 = "yellow_dark"
		instance = { scale = { 0.8 0.76 } position = { 0.49 0.49 } }		
	}	
	textured_emblem = {
		texture = "te_st_george_and_the_dragon.dds"
		instance = { scale = { 0.50 0.50 } position = { 0.5 0.5 } }
	}			
}

MUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 57 166 }
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = color2
	}
}

RUS = { #Russia
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = rgb { 0 57 166 }
		color2 = "yellow"
	}	

	sub = {
		parent = "sub_RUS_crown" 
		instance = { scale = { 0.4 0.4 } offset = { 0.3 0.05 } }
	}
	sub = {
		parent = "sub_RUS_coa" 
		instance = { scale = { 0.9 0.9 } offset = { 0.05 0.075 } }
	}	
}

RUS_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "black"
	
    sub = {
        parent = "sub_RUS_crown" 
        instance = { scale = { 0.4 0.4 } offset = { 0.3 0.05 } }
    }
    sub = {
        parent = "sub_RUS_coa" 
        instance = { scale = { 0.9 0.9 } offset = { 0.05 0.075 } }
    }		
}

RUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = rgb { 0 57 166 }
		color2 = "yellow"
	}
}

RUS_oligarchy = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = rgb { 0 57 166 }
		color2 = "yellow"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @third @[third*2] } position = { @[third/2] @third } }			
	}		
	textured_emblem = {
		texture = "te_eagle_russia_crowned.dds"
		instance = { scale = { 0.6 0.6 } position = { @[third/2] @third } }
	}			
}

SMO = { #Smolensk
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 102 204 }

	textured_emblem = {
		texture = "te_smolensk.dds"
		instance = { scale = { 2.5 2.5 } }
	}
}

SMO_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 102 204 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal_thick.dds"
		color1 = white
		color2 = rgb { 0 102 204 }
	}

	textured_emblem = {
		texture = "te_smolensk.dds"
		instance = { scale = { 1.5 1.5 } }
	}
}

SMO_republic = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 102 204 }

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = white
	}

	textured_emblem = {
		texture = "te_smolensk.dds"
		instance = { scale = { 1.5 1.5 } }
	}
}

MSO = { #Moscow
	pattern = "pattern_solid.tga"
	color1 = yellow

	textured_emblem = {
		texture = "te_st_george_and_the_dragon.dds"
		instance = { scale = { -1.0 1.0 } }
	}
}

TVE = { #Yaroslavl
	pattern = "pattern_solid.tga"
	color1 = rgb { 248 195 1 }

	textured_emblem = {
		texture = "te_yaroslavl_bear.dds"
		instance = { scale = { -1.0 1.0 } }
	}
}

TVE_absolute_monarch = {
	pattern = "pattern_border_of_2.dds"
	color1 = white
	color2 = rgb { 0 102 204 }

	sub = {
        parent = "sub_TVE_crown" 
        instance = { scale = { 0.26 0.26 } offset = { 0.18 0.15 } }
    }

	sub = {
        parent = "sub_TVE_coa" 
        instance = { scale = { 0.6 0.6 } offset = { -0.15 0.175 } }
    }
}

NZH = { #Nizhny Novgorod
	pattern = "pattern_solid.tga"
	color1 = white

	colored_emblem = {
		texture = "ce_deer_supporter.dds"
		color1 = red
	}
}

NZH_absolute_monarch = {
	pattern = "pattern_border_of_4.dds"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_deer_supporter.dds"
		color1 = red
		instance = { scale = { 0.79 0.79 } }
	}
}

RYA = { #Ryazan
	pattern = "pattern_solid.tga"
	color1 = rgb { 191 69 16 }

	textured_emblem = {
		texture = "te_horse.dds"
		instance = { scale = { -1.0 1.0 } }
	}
}

RYA_absolute_monarch = { #Ryazan
	pattern = "pattern_border_of_3.dds"
	color1 = rgb { 33 111 1 }
	color2 = yellow

	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = rgb { 191 69 16 }
		instance = { scale = { 0.49 0.49 } position = { 0.19 0.39 }}
	}

	textured_emblem = {
		texture = "te_horse.dds"
		instance = { scale = { -0.49 0.49 } position = { 0.19 0.39 } }
	}
}

HAN = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "white"
		color2 = "white"
	}
}
HAN_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "white"
		color2 = "white"
	}
    sub = {
        parent = "sub_crown" 
        instance = { scale = { 0.5 0.5 } offset = { 0.25 0.02 }  } # top left
		color1 = "yellow"
		color2 = "red"
		color3 = "azure"
		color4 = "white"
		color5 = "red_dark"		
    }	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.76 0.76 } position = { 0.5 0.58 } }	
		color1 = "brown"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_shield_iberian.dds"
		instance = { scale = { 0.74 0.74 } position = { 0.5 0.58 } }	
		color1 = "red"
		color2 = "white"
	}	
	colored_emblem = {
		texture = "ce_horse.dds"
		instance = { scale = { 0.58 0.58 } position = { 0.51 0.58 } }	
		color1 = "white"
		color2 = "white"
		color3 = "grey"
	}			
}
HAN_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.465 0.465 } position = { 0.16 0.24 } }				
	}
	colored_emblem = {
		texture = "ce_star_frame_hammer_sickle.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.45 0.45 } position = { 0.16 0.24 } }				
	}	
	colored_emblem = {
		texture = "ce_stripes_02_bottom_lithuania.dds"
		color1 = "yellow"
		color2 = "white"
        instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 }  }
	}	
}
HAN_subject = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.78 0.6 } scale = { 0.70 0.70 } }
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }				
	}		
}
HAN_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue"
		color2 = "blue"
	}

	colored_emblem = {
		texture = "ce_horse.dds"
		color1 = "red"
		color2 = "red"
		color3 = "red"
		instance = { position = { 0.5 0.5 } scale = { 0.9 0.9 } }
	}
}

BEG = { #Berg
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	color3 = blue
	color4 = black

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color4
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_shield_accolade.dds"
		color1 = color1
		instance = { scale = { 0.58 0.58 } }
	}
	colored_emblem = {
		texture = "ce_lion_rampant_forked_crowned.dds"
		color1 = color2
		color2 = color3
		color3 = color1
		instance = { scale = { 0.45 0.45 } }
	}
}

DSX = { #Ducal Saxony
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = color2
	}
}

THU = { #Thuringia
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
}
THU_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = color2
	}
}
THU_republic = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = color2
	}
}

SAX = { #Saxony
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = yellow

	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = color2
	}
}
SAX_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = yellow

	colored_emblem = {
		texture = "ce_stripes_08.dds"
		color1 = color2
	}

	colored_emblem = {
		texture = "ce_shield_saxony.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }		
	}				
}

DAR = { #Hesse-Darmstadt
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_tricolor_horizontal_thick.dds"
		color1 = color2
		color2 = color1
	}
}

EFR = { #East Frisia
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = red
	color3 = blue

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

MUN = { #Munster
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
}
MUN_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
}

EST_DVG = { #Estland
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = white
	color3 = black

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
}
EST_DVG_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = white
	color3 = black
	color4 = yellow
	color5 = blue

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_shield_heater.dds" # TODO maybe : renaissance shield
		color1 = color4
		instance = { scale = { 0.60 0.555 } position = { @[1/3] 0.5 } }
	}
	colored_emblem = {
		texture = "ce_lion_passant_guardant.dds" # dark blue doesnt exactly work
		color1 = color5
		color2 = red
		color3 = color2
		instance = { scale = { 0.375 0.30 } position = { @[1/3] 0.37 } }
		instance = { scale = { 0.375 0.30 } position = { @[1/3] 0.50 } }
		instance = { scale = { 0.285 0.24 } position = { @[1/3] 0.62 } }			
	}
	textured_emblem = {
		texture = "te_crown_cut.dds"
		instance = { scale = { 0.27 0.27 } position = { @[1/3] 0.26 } }
	}
}

LIV = { #Livonia
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = black

    colored_emblem = {
        texture = "ce_frame_square.dds"
        color1 = red
		instance = { scale = { 3 1 } position = { 0 1.12 } }
    }
	
	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = white
		color2 = black
	}
	
}

LIV_communist = { #Livonia
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = black

	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = white
		color2 = black
	}
	
	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = yellow
		instance = { scale = { 0.4 0.4 } position = { 0.13 0.2 } }
	}
	
    colored_emblem = {
        texture = "ce_frame_square.dds"
        color1 = white
		instance = { scale = { 3 1 } position = { 0 1.06 } }
    }
	
    colored_emblem = {
        texture = "ce_frame_square.dds"
        color1 = red
		instance = { scale = { 3 1 } position = { 0 1.12 } }
    }
	
}

LVL = { #Livland
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
	}
}

UBT = { #United Baltics
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color2
	}
}

GCO = { #Gran Colombia
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = blue
	color3 = red
	color4 = green
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 1.0 0.75 } position = { 0.5 @[5/8] } }
	}
	textured_emblem = {
		texture = "te_coa_colombia.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.2 0.25 } }
	}	
	colored_emblem = {
		texture = "ce_wreath.dds"
		color1 = color4
		color2 = color4
		color3 = color3
		instance = { scale = { 0.63 0.63 } position = { 0.2 0.25 } }
	}	
}

GEN = { #Genoa
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
	}
}

SAV = { #Savoy
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
	}
}

LOM_absolute_monarchy = { #Milan
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = white
	color3 = black
	color4 = red
	color5 = azure

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_eagle_crown.dds"
		color1 = color3
		color2 = color4
		color3 = color2
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.75 } }
	}
	colored_emblem = {
		texture = "ce_cobra_coiled.dds" #needs to be a crowned serpent eating a man
		color1 = color5 #serpent
		color2 = color4 #man
		color3 = color1 #crown
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.75 } }
		instance = { scale = { 0.5 0.5 } position = { 0.75 0.25 } }
	}
}

ARN = { #Aragon (just needed for objective start screen)
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}
}

ARI = { #Aragon-Italy
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = yellow
	color3 = red
	
	colored_emblem = {
		texture = "ce_cross_cotised.dds"
		color1 = color3
		color2 = color1
	}

	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = color2
		color2 = color3
		color3 = color3
	}
}

ARI_republic = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = red
	color3 = blue
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}
ARI_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_stripes_9.dds"
		color1 = color2
		color2 = color2
	}

	colored_emblem = {
		texture = "ce_bicolor_left_third.dds"
		color1 = color1
	}

	colored_emblem = {
		texture = "ce_chi_rho.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.69 0.69 } position = { 0.17 0.5 } }
	}
}

TUS_DVG = { #Etruria
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = blue
	color4 = yellow
	
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_shield_heater_per_pale.dds"
		color1 = color3
		color2 = color4
		instance = { scale = { 1.0 0.8 } position = { 0.5 0.55 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		instance = { scale = { 0.175 0.175 } position = { @[101/186] @[31/64] } }
		instance = { scale = { 0.175 0.175 } position = { @[101/186] @[39/64] } }
		instance = { scale = { 0.175 0.175 } position = { @[111/186] @[45/64] } }
		instance = { scale = { 0.175 0.175 } position = { @[121/186] @[31/64] } }
		instance = { scale = { 0.175 0.175 } position = { @[121/186] @[39/64] } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color3
		instance = { scale = { 0.225 0.225 } position = { @[111/186] @[23/64] } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color1
		instance = { scale = { @[14/93] @[2/64] } position = { @[75/186] @[27/64] } }
		instance = { scale = { @[2/93] @[3/64] } position = { @[63/186] @[29/64] } }
		instance = { scale = { @[2/93] @[3/64] } position = { @[75/186] @[29/64] } }
		instance = { scale = { @[2/93] @[3/64] } position = { @[87/186] @[29/64] } }
	}
	colored_emblem = {
		texture = "ce_fleur_de_lis.dds"
		color1 = color4
		instance = { scale = { 0.2 0.2 }position = { @[75/186] @[39/64] } }
		instance = { scale = { 0.06 0.06 }position = { @[111/186] @[24/64] } }
		instance = { scale = { 0.06 0.06 }position = { @[107/186] @[22/64] } }
		instance = { scale = { 0.06 0.06 }position = { @[115/186] @[22/64] } }
	}
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.44 0.44 } position = { 0.5 0.18 } }
	}
}
TUS_DVG_republic = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue_light
	
	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = color2
	}
}
TUS_DVG_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue_light
	
	colored_emblem = {
		texture = "ce_stripes_05.dds"
		color1 = color2
	}
	textured_emblem = {
		texture = "te_etruria_coat.dds"
		instance = { scale = { 1 1 } position = { 0.5 0.5 } }
	}
}
TUS_DVG_fascist = {
	pattern = "pattern_solid.tga"
	color1 = black

	colored_emblem = {
		texture = "ce_florence.dds"
		color1 = white
		instance = { scale = { .5 .5 } position = { 0.5 0.5 } }
	}
}
TUS_DVG_theocracy = {
	pattern = "pattern_verical_bicolor_right_offset.dds"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_florence.dds"
		color1 = red
		instance = { scale = { .8 .8 } position = { 0.3 0.5 } }
	}
	colored_emblem = {
		texture = "ce_christian_cross.dds"
		color1 = white
		instance = { scale = { .75 .75 } position = { 0.8 0.5 } }
	}
}

#Champa
CHA = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	
	colored_emblem = {
		texture = "ce_stripes_03_middle.dds"
		color1 = color2
		color2 = color1
	}
}

#Java
JAV_DVG = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		color2 = color1
	}
}

#Netherlands
NET_DVG = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = black
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
}

#Leeuwin
LEW = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = blue_light
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#Opstalia
OPS = {
	pattern = "pattern_solid.tga"
	color1 = blue_light
	color2 = white
	color3 = green
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color3
		instance = { scale = { 0.25 1.0 } position = { 0.125 0.5 } }
	}
}

#Nuweflander
NFL = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = black
	
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
	}
}

#Batavia
BTV = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = blue_light
	color4 = green
	color5 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
		instance = { scale = { 1.0 0.75 } position = { 0.5 @[3/8] } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		instance = { scale = { 0.25 0.75 } position = { @[1/8] @[3/8] } }
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color5
		instance = { scale = { 1.0 0.25 } position = { 0.5 @[7/8] } }
	}
}

#Vryland
VRY = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = red
	color3 = blue
	color4 = green
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		instance = { scale = { 0.25 1.0 } position = { 0.875 0.5 } }
	}
}

#Palembang
PLM = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = green
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
}

#Celebes
CEL = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = red
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
}


#Makassar
MKS = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = blue
	
	colored_emblem = {
		texture = "ce_crossed_scimitars.dds"
		color1 = color2
	}
}
MKS_republic = {
	pattern = "pattern_verical_bicolor_third.dds"
	color1 = blue
	color2 = yellow
	color3 = white
	color4 = green
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color3
		color2 = color4
		instance = { scale = { @[1/3] 1.0 } position = { @[1/6] 0.5 } }
	}
}

#Zhusha
ZSA = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_sha_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.33 0.5 } }
	}
	colored_emblem = {
		texture = "ce_zhu_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.73 0.5 } }
	}
}

ZSA_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_border_orle.dds"
		color1 = color2
		color2 = color1
	}
	colored_emblem = {
		texture = "ce_bar.dds"
		color1 = color2
		instance = { scale = { 0.5 1.0 } }
	}
	colored_emblem = {
		texture = "ce_sha_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.27 } }
	}
	colored_emblem = {
		texture = "ce_zhu_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.75 0.72 } }
	}
	colored_emblem = {
		texture = "ce_dvg_arabic_zhusha.dds"
		color1 = color2
		instance = { scale = { 0.8 0.8 } position = { 0.25 0.5 } }
	}
}

ZSA_republic = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	
	colored_emblem = {
		texture = "ce_bar.dds"
		color1 = color2
		instance = { scale = { 0.5 1.0 } position = { 0.4 0.5 } }
	}
	colored_emblem = {
		texture = "ce_crescent_star_05_rotated.dds"
		color1 = color2
		instance = { scale = { 0.5 0.5 } position = { 0.2 0.22 } }
	}
	colored_emblem = {
		texture = "ce_dvg_zhusha.dds"
		color1 = color2
		instance = { scale = { 0.55 0.55 } position = { 0.2 0.7 } }
	}
}

ZSA_communist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_crescent_star_05_rotated.dds"
		color1 = color2
		instance = { scale = { 0.5 0.5 } position = { 0.2 0.22 } }
	}
	colored_emblem = {
		texture = "ce_dvg_gong_zhong.dds"
		color1 = color2
		instance = { scale = { 0.7 0.7 } position = { 0.65 0.65 } }
	}
}

ZSA_fascist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = black
	
	colored_emblem = {
		texture = "ce_zhu_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.4 0.4 } position = { 0.4 0.4 } }
	}
	colored_emblem = {
		texture = "ce_sha_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.4 0.4 } position = { 0.65 0.4 } }
	}
	colored_emblem = {
		texture = "ce_scimitar.dds"
		color1 = color2
		instance = { scale = { 1.0 1.0 } position = { 0.45 0.6 } }
	}
}

ZSA_subject = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_chinese_seal_base.dds"
		color1 = color2
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.65 } }
	}
	colored_emblem = {
		texture = "ce_dvg_zhusha.dds"
		color1 = color2
		instance = { scale = { 0.3 0.3 } position = { 0.75 0.65 } }
	}
	colored_emblem = {
		texture = "ce_crescent_star_05_rotated.dds"
		color1 = color2
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.25 } }
	}
}

#Mianjin
MJN = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = black
	
	colored_emblem = {
		texture = "ce_jin_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.33 0.5 } }
	}
	colored_emblem = {
		texture = "ce_mian_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.73 0.5 } }
	}
}

MJN_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = black

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_dvg_mianjin_seal.dds"
		color1 = color2
		instance = { scale = { 0.6 0.35 }  position = { 0.23 0.2 } }
	}
}

MJN_republic = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = black
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_stripes_zigzag.dds"
		color1 = color1
	}
	colored_emblem = {
		texture = "ce_dvg_chinese_crux.dds"
		color1 = color2
		instance = { scale = { 0.9 0.9 } position = { 0.25 0.5 } }
	}
}

MJN_communist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.8 1.0 } position = { 0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		color2 = color1
		instance = { scale = { 0.4 0.4 } position = { 0.175 0.5 } }
	}
}

MJN_fascist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = { scale = { 0.2 1.0 } position = { 0.1 0.5 } }
	}
	colored_emblem = {
		texture = "ce_dvg_mianjin_fascist.dds"
		color1 = black
		instance = { scale = { 0.95 0.95 } position = { 0.1 0.5 } }
	}
	colored_emblem = {
		texture = "ce_southern_cross_variant.dds"
		color1 = black
		instance = { scale = { 0.95 0.95 } position = { 0.61 0.5 } }
	}
	colored_emblem = {
		texture = "ce_southern_cross_variant.dds"
		color1 = color2
		instance = { scale = { 0.95 0.95 } position = { 0.6 0.5 } }
	}
}

MJN_subject = {
	pattern = "pattern_vertical_split_01.tga"
	color1 = yellow
	color2 = black
	
	colored_emblem = {
		texture = "ce_dvg_chinese_crux.dds"
		color1 = color1
		instance = { scale = { 0.9 0.9 } position = { 0.75 0.5 } }
	}
}

#Yaluo
YLO = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	
	colored_emblem = {
		texture = "ce_luo_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.3 0.5 } }
	}
	colored_emblem = {
		texture = "ce_ya_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.73 0.5 } }
	}
}

YLO_monarchy = {
	pattern = "pattern_per_bend.dds"
	color1 = white
	color2 = blue
	
	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = color2
		color2 = color1
		color3 = color1
		mask = {2}
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		mask = {2}
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		mask = {2}
		instance = { scale = { 0.8 0.8 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		mask = {2}
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		mask = {2}
		instance = { scale = { 0.4 0.4 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		mask = {2}
		instance = { scale = { 0.2 0.2 } }
	}
	colored_emblem = {
		texture = "ce_kingdom_hanzi.dds"
		color1 = "black"
		instance = { scale = { 0.5 0.5 } position = { 0.7 0.25 } }
	}
}

YLO_republic = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	
	colored_emblem = {
		texture = "ce_saltire_fimbriated_02.dds"
		color1 = color1
		color2 = color2
		color3 = color2
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		instance = { scale = { 0.4 0.4 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.2 0.2 } }
	}
}

YLO_communist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	
	colored_emblem = {
		texture = "ce_stripes_02_bottom_karelia.dds"
		color1 = color2
		color3 = color2
		instance = { rotation = 180 }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color1
		instance = { scale = { 0.4 0.4 } position = { 0.15 0.2 } }
	}
}

YLO_fascist = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	
	colored_emblem = {
		texture = "ce_per_saltire_counterchanged.dds"
		color1 = "black"
		color2 = "red"
		instance = { rotation = 90 }
	}
	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_plum_blossom.dds"
		color1 = color2
		color2 = color2
		instance = { scale = { 0.9 0.9 } }
	}
	colored_emblem = {
		texture = "ce_plum_blossom.dds"
		color1 = color2
		color2 = color1
		instance = { scale = { 0.8 0.8 } }
	}
}

YLO_subject = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		instance = { scale = { 0.8 0.8 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color1
		instance = { scale = { 0.4 0.4 } position = { 0.75 0.5 } }
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color2
		instance = { scale = { 0.2 0.2 } position = { 0.75 0.5 } }
	}
}

#Zhourao
ZHR = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = black
	
	colored_emblem = {
		texture = "ce_rao_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.33 0.5 } }
	}
	colored_emblem = {
		texture = "ce_zhou_hanzi.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.73 0.5 } }
	}
}

ZHR_monarchy = {
	pattern = "pattern_verical_bicolor_third.dds"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_chinese_seal_base.dds"
		color1 = color1
		instance = { scale = { 0.7 0.7 }  position = { 0.65 0.5 } }
	}
	colored_emblem = {
		texture = "ce_dvg_zhourao_seal.dds"
		color1 = color1
		instance = { scale = { 0.64 0.64 }  position = { 0.65 0.5 } }
	}
}

ZHR_republic = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_dvg_zhourao.dds"
		color1 = color2
		color2 = blue
		instance = { scale = { 0.8 0.8 } }
	}
	colored_emblem = {
		texture = "ce_zhou_hanzi.dds"
		color1 = blue
		instance = { scale = { 0.3 0.3 } }
	}
}

ZHR_communist = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_dvg_zhourao.dds"
		color1 = color2
		color2 = blue
		instance = { scale = { 0.8 0.8 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = red
		instance = { scale = { 0.3 0.3 } }
	}
}

ZHR_fascist = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_dragon_china.dds"
		color1 = black
		color2 = white
		color3 = red
		instance = { scale = { 1.5 1.5 } }
	}
}

ZHR_subject = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_dvg_zhourao.dds"
		color1 = color2
		color2 = blue
		instance = { scale = { 0.55 0.55 } position = { 0.75 0.5 } }
	}
}

#Madurai
MDU = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = black
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
}

#Vijayanagar
VIJ = {
	pattern = "pattern_solid.tga"
	color1 = orange
	color2 = white
	
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = color2
		instance = { scale = { 1.1 1.5 } position = { 1.0 0.5 } }
	}
	
	colored_emblem = {
		texture = "ce_star_06.dds" #should be circle surrounded by 6 triangles representing a sun
		color1 = color1
		instance = { scale = { 0.5 0.5 } position = { 0.8 0.5 } }
	}
}
VIJ_republic = {
	pattern = "pattern_solid.tga"
	color1 = yellow
	color2 = white
	color3 = red
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#Adamawa
ADW = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = white
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color2
		instance = { scale = { 0.05 1.0 } position = { 0.3 0.5 } }
		instance = { scale = { 0.05 1.0 } position = { 0.7 0.5 } }
	}
}
ADW_republic = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = white
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color1
	}
}

#Ilorin
ILO = {
	pattern = "pattern_solid.tga"
	color1 = red
}
ILO_republic = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = yellow
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color2
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }
	}
}

#Kano
KNO = {
	pattern = "pattern_solid.tga"
	color1 = orange
	color2 = green
	color3 = white
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color3
	}
}

#Germany
GER_DVG = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = yellow
	color3 = white
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}
GER_DVG_republic = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = black
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color1
	}
}
GER_DVG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "red"
		color2 = "black"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.43 0.43 } position = { 0.5 0.5 } }			
	}		
	colored_emblem = {
		texture = "ce_hammer_compass_ddr.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr.dds"
		color1 = "yellow_dark"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.505 }  }	
	}
	colored_emblem = {
		texture = "ce_coa_frame_ddr_flags.dds"
		color1 = "red"
		color2 = "black"
		color3 = "red"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 }  }	
	}
}
GER_confederation = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "red"
	color3 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}


#North Germany
NGF_DVG = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = red
	color3 = white
	color4 = yellow
	color5 = black
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = color4
		instance = { scale = { @[1/3] 1.0 } position = { @[1/6] 0.5 } }
	}
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = color5
		color2 = color2
		color3 = color3
		instance = { scale = { 0.5 0.5 } position = { @[1/6] 0.5 } }
	}
}
NGF_DVG_republic = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = blue
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#South Germany
SGF = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = blue
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}
SGF_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = blue
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.20 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "white"
		color2 = "yellow"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.51 } }		
	}
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = black
		color2 = red
		color3 = white
		instance = { scale = { 0.5 0.5 } }
	}
}
SGF_republic = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = white
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
}
SGF_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_iron_cross.dds"
		color1 = "white"
		color2 = "black"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}			
}

CFR = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = blue

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = color2
		color2 = color3
	}
}
CFR_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = green

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

    textured_emblem = {
        texture = "te_rhine.dds"
        instance = { scale = { 0.69 0.69 } position = { 0.5 0.5 } }    
    }
}
CFR_communist = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = yellow

	colored_emblem = {
		texture = "ce_hammer_sickle_wreath.dds"
		color1 = color2
		instance = { scale = { 0.45 0.45 } position = { 0.25 0.25 } }			
	}
}
CFR_fascist = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue
	color3 = black

	colored_emblem = {
		texture = "ce_saltire.dds"
		color1 = color2
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color2
		instance = { scale = { 0.65 0.65 } }
	}

	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = color1
		instance = { scale = { 0.48 0.48 } }
	}

	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = color3
		color2 = color3
		color3 = color3
		instance = { scale = { 0.48 0.48 } }
	}
}

#Rhineland
RHI = {
	pattern = "pattern_cross.dds"
	color1 = white
	color2 = black
}
RHI_republic = {
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white
	color3 = black
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#Bohemia Elbian Confederation
BOH_elbian_confederation = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	color3 = black
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}
BOH_elbian_confederation_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red
	color3 = black
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.5 0.25 } }
	}		
	colored_emblem = {
		texture = "ce_shield_accolade_02.dds"
		color1 = "red"
		color2 = "yellow"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.56 } }		
	}		
	colored_emblem = {
		texture = "ce_lion_rampant_forked_crowned.dds"
		color1 = "white"
		color2 = "yellow"
		color3 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.505 0.565 } }
	}
}
BOH_elbian_confederation_republic = {
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = red
	color3 = white
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#Sugbo
SUG = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = red
	color3 = yellow
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_sun_philippines.dds"
		color1 = color3
	}
}

#Scandinavian East Indies
CHR = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = red
	color3 = yellow
	color4 = white
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color4
	}
	colored_emblem = {
		texture = "ce_sun_philippines.dds"
		color1 = color3
		instance = { scale = { 0.35 0.35 } position = { 0.4 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = color3
		instance = { scale = { 0.1 0.1 } rotation = 0 position = { 0.4 0.325 } }
		instance = { scale = { 0.077 0.14 } rotation = 90 position = { 0.525 0.5 } }
		instance = { scale = { 0.1 0.1 } rotation = 180 position = { 0.4 0.675 } }
	}
}
CHR_colony = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = red
	color3 = yellow
	color4 = white
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = color4
	}
	colored_emblem = {
		texture = "ce_sun_philippines.dds"
		color1 = color3
		instance = { scale = { 0.4 0.4 } position = { @[5/32] 0.2 } }
	}
}

#Burgundian East Indies
BEI = {
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white
	color3 = yellow

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

#Cape Colony
SAF_DVG = {
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red
	
	colored_emblem = {
		texture = "ce_stripes_02_bottom_karelia.dds"
		color1 = color3
		color3 = color2
	}
	colored_emblem = {
		texture = "ce_southern_cross_variant.dds"
		color1 = color2
		instance = { scale = { 0.6 0.6 } position = { 0.75 0.325 } }
	}
}

SBR = { # Sibir
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 204 255 }

	textured_emblem = {
		texture = "te_sibir.dds"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }			
	}
}

NOG = { # Nogai
	pattern = "pattern_solid.tga"
	color1 = rgb { 50 204 254 }

	textured_emblem = {
		texture = "te_nogai.dds"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }			
	}	
}

BAK = { # Bashkiria
	pattern = "pattern_solid.tga"
	color1 = rgb { 250 204 7 }
	color2 = rgb { 0 104 61 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal_thick.dds"
		color1 = color2
		color2 = color1
	}

	textured_emblem = {
		texture = "te_horse.dds"
		instance = { scale = { 0.85 0.85 } }
	}
}

DZU = { # Dzungaria
	pattern = "pattern_solid.tga"
	color1 = rgb { 235 217 17 }

	textured_emblem = {
		texture = "te_oirat.dds"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }			
	}	
}

AZB_safavid = { # Safavid Empire
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 140 204 }

	colored_emblem = {
		texture = "ce_inti.dds"
		color1 = "yellow"
		color2 = "orange"
		color3 = "white"
		instance = { scale = { 0.60 0.60 } position = { 0.51 0.42 } }			
	}	
	colored_emblem = {		
		texture = "ce_frame_circle.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.16 0.16 } position = { 0.51 0.42 } }		
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "yellow_dark"
		color2 = "yellow_dark"
		instance = { scale = { 0.5 0.02 } position = { 0.525 0.81 } }		
	}	
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.49 0.01 } position = { 0.525 0.805 } }		
	}	
	colored_emblem = {
		texture = "ce_lion_persia.dds"
		color1 = "yellow"
		color2 = "orange"
		color3 = "white"
		instance = { scale = { 1.1 1.1 } position = { 0.50 0.50 } }			
	}
}

SHZ = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"
	color2 = "white"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green_light"
	}

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }			
	}

	colored_emblem = {
		texture = "ce_crescent_rotated.dds"
		color1 = "black"
		color2 = "black"
		instance = { scale = { 0.49 0.49 } position = { 0.5 0.5 } }			
	}	
}

SHZ_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue_light"

	colored_emblem = {
		texture = "ce_christogram_02.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.99 0.99 } position = { 0.5 0.5 } }			
	}

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "blue_light"
		color2 = "blue_light"
		instance = { scale = { 0.77 0.77 } position = { 0.5 0.5 } }			
	}

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.44 0.44 } position = { 0.5 0.5 } }			
	}
	
	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.15 0.15 } position = { 0.15 0.15 } }			
	}

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.15 0.15 } position = { 0.15 0.85 } }			
	}

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.15 0.15 } position = { 0.85 0.15 } }			
	}

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 0.15 0.15 } position = { 0.85 0.85 } }			
	}	
}

ASK = { # Astrakhan
	pattern = "pattern_solid.tga"
	color1 = rgb { 29 130 179 }

	textured_emblem = {
		texture = "te_astrakhan.dds"
		instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }			
	}	
}

ASK_republic = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_waves_latvia.dds"
		color1 = rgb { 29 130 179 }
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.6 }  }
	}

	textured_emblem = {
		texture = "te_astrakhan.dds"
		instance = { position = { 0.5 0.4 } scale = { 0.70 0.70 } }			
	}	
}

GLD = { # Geledi
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }			
	}
}

GLD_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}

	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }			
	}
}

GLD_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "yellow"
		color2 = "yellow"
	}

	colored_emblem = {
		texture = "ce_hammer_and_sickle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }			
	}
}

GLD_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_crossed_scimitars.dds"
		color1 = "white"
	}
}

HLR = { # Holy Roman Empire
	pattern = "pattern_solid.tga"
	color1 = rgb { 255 213 0 }

	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { 1.1 1.1 } position = { 0.50 0.50 } }			
	}
}

HLR_republic = { # Freistaat Mitteleuropa
	pattern = "pattern_solid.tga"
	color1 = rgb { 255 213 0 }

	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = "yellow"
	}
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "yellow"
		color2 = "black"
	}
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "red"
		instance = { scale = { 1.1 1.1 } position = { 0.33 0.50 } }			
	}
}

HLR_communist = { # The URRM
	pattern = "pattern_solid.tga"
	color1 = rgb { 255 213 0 }

	colored_emblem = {
		texture = "ce_bicolor_left.dds"
		color1 = "red"
	}
	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "black"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_star_wreath.dds"
		color1 = "yellow"
		instance = { scale = { 1.1 1.1 } position = { 0.50 0.50 } }			
	}
}

QUI_viceroy = { #Caladero Quito viceroy
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_caladero.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.47 } }	
	}		
}

UCA_viceroy = { #Salvadore
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_salvadore.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.50 } }	
	}		
}

GCO_viceroy = { #New Spain
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_new_spain.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.50 } }	
	}		
}

GRA_viceroy = { #New Granada
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_new_granada.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.50 } }	
	}		
}

LUS_viceroy = { #New Portugal
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_coa_portuguese_republic.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.50 } }	
	}		
}

ITC = { #Italian Confederation
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}
}

ITC_war = { 
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}
}

ITC_confederacy_coat = { #For Parliament (Peaceful Unification)
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}
	
	textured_emblem = {
		texture = "te_itc.dds"
		instance = { scale = { .5 .5 } position = { 0.50 0.50 } }	
	}
}

ITC_republican = { #Italian Confederation Violent Presidential Republic
	pattern = "pattern_rhombus.dds"
	color1 = "red"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "green"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}		
	colored_emblem = {
		texture = "ce_eagle_napoleonian.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "green"
		instance = { scale = { 0.55 0.55 } position = { 0.5 0.5 } }
	}
}

ITC_monarchy = { 
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}

	textured_emblem = {
		texture = "te_italy_crown.dds"
		instance = { scale = { .5 .7 } position = { 0.50 0.50 } }	
	}
}

ITC_theocracy = {
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}
	
	textured_emblem = {
		texture = "te_coa_papal_states_tiara.dds"
		instance = { scale = { .8 .8 } position = { 0.50 0.50 } }	
	}
}

ITC_communist = { 
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}

	colored_emblem = {
		texture = "ce_star_05_hollow.dds"
		color1 = white
		color2 = red
		instance = { scale = { .5 .5 } position = { 0.50 0.50 } }	
	}
}

ITC_fascist = { 
	pattern = "pattern_rhombus_with_square.dds"
	color1 = red #rgb { 206 43 55 }
	color2 = white
	color3 = green #rgb { 0 146 70}

	colored_emblem = {
		texture = "ce_laurel_circled.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.5 1.1 } position = { 0.5 0.5 } }		
	}

	colored_emblem = {
		texture = "ce_cross_order_christ.dds" 
		color1 = "yellow"
		instance = { scale = { .5 .5 } position = { 0.50 0.50 } }		
	}
}

GRA = { #Granada
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_fess_fimbriated.dds"
		color1 = "green"
		color2 = "yellow"
		instance = { scale = { 1.0 1.7 } position = { 0.5 0.5 } }		
	}
}

QUI = { #Caladero Toledo
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "white"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
}

QUI_quito = { #Caladero Quito
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "yellow"
		color2 = "purple"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}	
}

SWZ = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_cross_switzerland.dds"
		color1 = "white"
		color2 = "white"
	}
}

BSG_theocracy = { #Begluk Bačka
	pattern = "pattern_solid.tga"
	color1 = green

	colored_emblem = {
		texture = "ce_crescent_star_turkey.dds"
		color1 = "yellow"
		color2 = "purple"
		instance = { scale = { 0.7 0.7 } position = { 0.5 0.5 } }		
	}
	colored_emblem = {
		texture = "ce_border_checkered.dds"
		color1 = "yellow"
		color2 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
}

BSG = { #Begluk Bačka
	pattern = "pattern_verical_bicolor_offset.dds"
    color1 = "green"
    color2 = "azure"
	
    colored_emblem = {
        texture = "ce_crescent_star_turkey.dds"
        color1 = "yellow"
        instance = { scale = { 0.45 0.45 } position = { 0.2 0.5 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.7 0.2 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.9 0.2 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.9 0.5 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.70 0.78 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.59 0.58 } }        
    }
	  colored_emblem = {
        texture = "ce_fleur_quebec.dds"
        color1 = "yellow"
        instance = { scale = { 0.3 0.2 } position = { 0.5 0.40 } }        
    }
		 colored_emblem = {
        texture = "ce_bend_dexter.dds"
        color1 = "white"
        instance = { scale = { 0.54 1.0 } position = { 0.70 0.50 } }              
    }
	    colored_emblem = {
        texture = "ce_scimitar.dds"
        color1 = "green"
        color2 = "yellow"
        instance = { scale = { 0.6 0.5 } position = { 0.2 0.8 } }        
    }
		    colored_emblem = {
        texture = "ce_bicolor_left.dds"
        color1 = "yellow"
        color2 = "azure"
        instance = { scale = { 0.08 1.0 } position = { 0.43 0.5 } }        
    }
		 colored_emblem = {
        texture = "ce_bicolor_left.dds"
        color1 = "white"
        color2 = "azure"
        instance = { scale = { 0.1 0.1 } position = { 0.49 0.08 } }        
    }
	 colored_emblem = {
        texture = "ce_border_checkered.dds"
        color1 = "yellow"
        color2 = "yellow"
        instance = { scale = { 1.1 1.1 } position = { 0.5 0.5 } }        
    }
}

SCO_scandinavia = {
	pattern = "pattern_solid.tga"
	color1 = "yellow"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_sweden.dds"
		color1 = red
		color2 = red
	}
	textured_emblem = {
		texture = "te_coa_scotland.dds"
		instance = { scale = { 0.7 0.7 } position = { 0.40 0.55 } }
	}
}

CCR = { #Compañía de la China Real
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = blue

	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
	textured_emblem = {
		texture = "te_macao.dds"
		instance = { scale = { 0.85 0.85 } position = { 0.50 0.53 } }	
	}		
}

CC2 = {	#Companhia Real da Índia Espanhola
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "yellow"
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "white"
		instance = { scale = { 1.5 1.5 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_saltire_fimbriated.dds"
		color1 = "white"
		color2 = "blue"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
}

ARY = {	#Aryanam
	pattern = "pattern_solid.tga"
	color1 = "red"
	colored_emblem = {
		texture = "ce_border_compony.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }			
	}
	colored_emblem = {
		texture = "ce_dvg_aryanam.dds"
		color1 = "yellow"
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }		
	}
}

QQQ = { #Zhongtu
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = white

	colored_emblem = {
		texture = "ce_tricolor_thick.dds"
		color1 = blue
		color2 = white
	}
	colored_emblem = {
		texture = "ce_dvg_zhongtu.dds"
		color1 = color2
	}
}

CUI = { #Cuiyan
	pattern = "pattern_solid.tga"
	color1 = green
	color2 = white

	colored_emblem = {
		texture = "ce_koru.dds"
		color1 = green
		color2 = blue
	}
	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = white
		instance = { scale = { 1.0 1.0 } position = { 0.5 0.5 } }	

	}
	colored_emblem = {
		texture = "ce_dvg_cuiyan.dds"
		color1 = white
		instance = { scale = { 0.9 0.9 } position = { 0.25 0.5 } }	
	}
}

NVZ = { #Nouvelle Zealande
    pattern = "pattern_solid.tga"
    color1 = blue
    color2 = rgb { 175 0 0 }
    color3 = blue

    colored_emblem = {
        texture = "ce_stripes_07.dds"
        color1 = color3
    }
    colored_emblem = {
        texture = "ce_per_saltire.dds"
        color1 = color2
    }
    colored_emblem = {
        texture = "ce_saltire.dds"
        color1 = white
        instance = { scale = { @[8/4.75] @[7/4.75] } }
    }
	colored_emblem = {
		texture = "ce_cross_nvz.dds"
		color1 = red
		color2 = yellow
        instance = { scale = { 1.0 1.0 } }
	}
}

NVZ_republic = { #Nouvelle Zealande
    pattern = "pattern_solid.tga"
    color1 = blue
    color2 = rgb { 175 0 0 }
    color3 = blue

    colored_emblem = {
        texture = "ce_stripes_07.dds"
        color1 = color3
    }
    colored_emblem = {
        texture = "ce_per_saltire.dds"
        color1 = color2
    }
    colored_emblem = {
        texture = "ce_saltire.dds"
        color1 = white
        instance = { scale = { @[8/4.75] @[7/4.75] } }
    }
    colored_emblem = {
        texture = "ce_star_saltire_13.dds"
        color1 = yellow
        instance = { scale = { 1.6 1.1 } }
    }
}

NVZ_burgundy = {
    pattern = "pattern_solid.tga"
    color1 = blue
    color2 = rgb { 175 0 0 }
    color3 = blue

    colored_emblem = {
        texture = "ce_stripes_07.dds"
        color1 = blue
    }
    colored_emblem = {
        texture = "ce_saltire.dds"
        color1 = white
        instance = { scale = { @[8/4.75] @[7/4.75] } }
    }
	colored_emblem = {
		texture = "ce_cross_burgundy.dds"
		color1 = red
		color2 = yellow
        instance = { scale = { 1.0 1.0 } }
	}
}

VRG = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 0 153 }

	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = black
		instance = { scale = { 0.9 0.9 } position = { 0.05 0 } }	
	}
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = black
		instance = { scale = { 1.1 0.9 } position = { 0.65 1.0 } }	
	}
	colored_emblem = {
		texture = "ce_cross_norway.dds"
		color1 = red
		color2 = white
	}
}

CGI = { #Chougie
    pattern = "pattern_solid.tga"
    color1 = blue
    color2 = rgb { 175 0 0 }
    color3 = yellow

	colored_emblem = {
		texture = "ce_stripes_11.dds"
		color1 = white	
	}
	colored_emblem = {
		texture = "ce_frame_square.dds"
		color1 = red
		instance = { scale = { 0.9 0.9 } position = { 0.25 0 } }	
	}
	colored_emblem = {
		texture = "ce_cross_england_fimbriated.dds"
		color1 = white
		color2 = red
	}
	sub = {
		parent = "sub_plantagenet_lions"
		instance = { scale = { @[299/768] @[171/512] } }
	}
}

DON = { #Donetsia
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	textured_emblem = {
		texture = "te_eagle_austria_crowned.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

DON_republic = { #Donetsian Host
	pattern = "pattern_border_double.dds"
	color1 = rgb { 197 11 30 }
	color2 = rgb { 250 204 7 }
	color3 = rgb { 0 102 204 }

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = color3
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }		
	}
}

AKH = { #Saraj the Great
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
	}
}

AKH_republic = { #Akhtuba Host
	pattern = "pattern_border_double.dds"
	color1 = rgb { 250 204 7 }
	color2 = rgb { 0 102 204 }
	color3 = rgb { 197 11 30 }
}

VOR = { #Voronezh
	pattern = "pattern_solid.tga"
	color1 = rgb { 218 37 29 }

	textured_emblem = {
		texture = "te_voronezh.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

VOR_republic = { #Don Host
	pattern = "pattern_border_double.dds"
	color1 = rgb { 197 11 30 }
	color2 = rgb { 197 11 30 }
	color3 = "white"
}

KHK = { #Kharkov
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 104 61 }

	textured_emblem = {
		texture = "te_kharkov.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

KHK_republic = { #Sloboda Ukraine Host
	pattern = "pattern_solid.tga"
	color1 = rgb { 203 48 133 }

	textured_emblem = {
		texture = "te_kiev.dds"
		instance = { scale = { 1.0 1.0 } }
	}

	colored_emblem = {
		texture = "ce_border_checkered.dds"
		color1 = "yellow"
		color2 = "red"
	}
}

KIE = { #Kiev
	pattern = "pattern_border_of_4.dds"
	color1 = rgb { 32 90 169 }
	color2 = rgb { 212 175 53 }

	textured_emblem = {
		texture = "te_kiev.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

KIE_republic = { #Uman Confederation
	pattern = "pattern_solid.tga"
	color1 = rgb { 250 204 7 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal_fifth.dds"
		color1 = "white"
		color2 = rgb { 1 57 160 }
	}
}

ZAZ = { #Zaporozhia
	pattern = "pattern_solid.tga"
	color1 = rgb { 61 170 95 }

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = rgb { 218 36 57 }
	}

	textured_emblem = {
		texture = "te_zaporozhia.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

ZAZ_republic = { #Zaporozhia
	pattern = "pattern_border_of_4.dds"
	color1 = rgb { 0 57 166 }
	color2 = rgb { 250 204 7 }

	textured_emblem = {
		texture = "te_cossack.dds"
		instance = { scale = { 1.0 1.0 } }
	}
}

CSK = { #Hetmanate
	pattern = "pattern_solid.tga"
	color1 = rgb { 1 57 160 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = rgb { 250 204 7}
		color2 = rgb { 197 11 30 }
	}
}

CSK_monarchy = { #Hetmanate
	pattern = "pattern_border_of_4.dds"
	color1 = rgb { 1 57 160 }
	color2 = rgb { 250 204 7}

	textured_emblem = {
		texture = "te_cossack_royal.dds"
		instance = { scale = { 1.25 1.25 } }
	}
}

AAL = { #Alrube Alkhali
    pattern = "pattern_solid.tga"
    color1 = yellow

    colored_emblem = {
        texture = "ce_bicolor_bottom.dds"
        color1 = yellow
    }
}

RUW = { #Ruwallah
    pattern = "pattern_solid.tga"
    color1 = red

    colored_emblem = {
        texture = "ce_addorsed_scimitars.dds"
        color1 = yellow
    }
}

TDT = { #Turkmenia
	pattern = "pattern_border_double.dds"
	color1 = rgb { 250 204 7 }  #yellow
	color2 = rgb { 0 140 204 }  #blue
	color3 = rgb { 0 140 204 }

	textured_emblem = {
		texture = "te_horse.dds"
		instance = { scale = { 0.85 0.85 } }
	}
}


KU1 = { #Soran
    pattern = "pattern_solid.tga"
    color1 = black

    colored_emblem = {
        texture = "ce_bicolor_bottom.dds"
        color1 = white
    }
}


KU2 = { #Bohtan
    pattern = "pattern_vertical_split_01.tga"
    color1 = red
 	color2 = white

	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = yellow
	}
	
}

KU3 = { #Hakkari
    pattern = "pattern_twin_middle_border_vertical.tga"
    color1 = black
	color2 = yellow

	colored_emblem = {
		texture = "ce_star_16.dds"
		color1 = yellow
	}
}

KU4 = { #Bitlis
    pattern = "pattern_solid.tga"
    color1 = yellow

    colored_emblem = {
        texture = "ce_rising_sun.dds"
        color1 = black
    }
}

IME = { #Imereti
    pattern = "pattern_solid.tga"
    color1 = rgb { 192 55 46 } #light blue

    colored_emblem = {
        texture = "ce_deer_supporter.dds"
        color1 = white
    }
}

SAM = { #Samtskhe
    pattern = "pattern_solid.tga"
    color1 = rgb { 61 98 43 } #light yellow

    colored_emblem = {
        texture = "ce_aurochs_head.dds"
        color1 = white
		color2 = black
		color3 = blue
    }
}

BLH = { #Baluchistan
    pattern = "pattern_solid.tga"
    color1 = green

    colored_emblem = {
        texture = "ce_bicolor_bottom.dds"
        color1 = red
    }

	colored_emblem = {
        texture = "ce_crescent_star_06_pale.dds"
        color1 = white
    }

}

XAC = { #Xacitarxan Khanate
	pattern = "pattern_solid.tga"
    color1 = rgb { 247 228 49 }  #orangish color
    #color2 = red

    #colored_emblem = {
    #    texture = "ce_tricolor_vertical.dds"
    #    color1 = color1
	#	color2 = color2
    #}

	colored_emblem = {
        texture = "ce_bicolor_right_third.dds"
        color1 = red
        #color2 = rgb { 215 158 43 }
    }

    colored_emblem = {
        texture = "ce_mahdist_legend.dds"
        instance = { scale = { 0.50 0.50 } position = { 0.33 0.5 } }
		color1 = black
    }
}

TAR = { #Tatarstan
	pattern = "pattern_per_bend.dds"
	color1 = rgb { 0 104 61 }
	color2 = rgb { 198 12 48 }

	colored_emblem = {
		texture = "ce_crescent_star_05.dds"
		color1 = "white"
		instance = { scale = { 0.34 0.34 } position = { 0.85 0.15 } }			
	}
}

TAR_monarchy = { #Tatarstan
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 104 61 }

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = rgb { 198 12 48 }
	}

	textured_emblem = {
		texture = "te_tatarstan.dds"
		instance = { scale = { 0.59 0.59 } position = { 0.29 0.5 } }
	}
}

TAR_republic = {
	pattern = "pattern_solid.tga"
	color1 = rgb { 0 104 61 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal_fifth.dds"
		color1 = "white"
		color2 = rgb { 198 12 48 }
	}
}


DRV = { #Dravidia
	pattern = "pattern_solid.tga"
	color1 = black

	colored_emblem = {
		texture = "ce_tricolor_horizontal_fifth.dds"
		color1 = "white"
		color2 = rgb { 198 12 48 }
	}
}

SOM = { # Somalia
	pattern = "pattern_solid.tga"
	color1 = rgb { 102 178 255 }
	color2 = rgb { 102 178 255 }

	colored_emblem = {
		texture = "ce_crescent.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }			
	}
}

MAS = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.25 0.25 } position = { 0.6 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.75 0.5 } }
		instance = { scale = { 0.25 0.25 } position = { 0.9 0.5 } }							
	}	
}

AR2 = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "white"
	color3 = "green"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "green"
	}
	colored_emblem = {
		texture = "ce_rhombus.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0 0.5 } }
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "green"
		color2 = "green"
		instance = { scale = { 0.25 0.25 } position = { 0.2 0.5 } }							
	}	
}

HDJ = {
	pattern = "pattern_solid.tga"
	color1 = rgb {165 25 23}
	color2 = rgb {165 25 23}
	color3 = rgb {165 25 23}
	
	colored_emblem = {
		texture = "ce_hedjas.dds"
		color1 = "white"
		color2 = "white"
	}
}

ROD = { #Romandy
	pattern = "pattern_horizontal_split_01.tga"
	color1 = red
	color2 = blue

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "white"
	}
}

MLT_monarchy = { #Maltese / Malta
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_cross_knights.dds"
		color1 = "white"
		color2 = "white"
	}
}
MLT_theocracy = { #Maltese / Malta
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_cross_knights.dds"
		color1 = "white"
		color2 = "white"
	}
}
MLT_republic = { 
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"

	colored_emblem = {		
		texture = "ce_cross_england.dds"
		color1 = "white"
		color2 = "red"
	}
}
MLT_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "black"
	color2 = "black"

	colored_emblem = {		
		texture = "ce_cross_knights.dds"
		color1 = "white"
		color2 = "white"
	}
}

S1C = { #Real Sicily
	pattern = "pattern_per_bend.dds"
	color1 = "yellow"
	color2 = "red"
	
	textured_emblem = {
		texture = "te_sicily.dds"
		instance = { scale = { 1 1 } position = { 0.50 0.50 } }
	}	
}
S1C_subject = { # Sicily Subject 
	pattern = "pattern_ara_vassal.dds"
	color1 = "red"
	color2 = "white"
	color3 = "yellow"
	
	textured_emblem = {
		texture = "te_sicily_2.dds"
		instance = { scale = { .75 .75 } position = { 0.50 0.50 } }
	}	
}

NAP = { # Naples
	pattern = "pattern_solid.tga"
	color1 = "yellow"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "red"
	}
	
	textured_emblem = {
		texture = "te_necklace_two_sicilies.dds"
		instance = { scale = { 1.0 1.0 } position = { 0.50 0.50 } }
	}	
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.50 0.22 } }
	}	
	textured_emblem = {
		texture = "te_coa_two_sicilies.dds"
		instance = { scale = { 0.67 0.67 } position = { 0.50 0.50 } }
	}			
}
NAP_ara_subject = { # Naples Aragon Subject
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	textured_emblem = {
		texture = "te_naples_ara_subject.dds"
		instance = { scale = { 1 1 } position = { 0.5 0.50 } }
	}		
}

FRI = { #Friûl
	pattern = "pattern_solid.tga"
	color1 = rgb { 18 109 183 }

	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "yellow"
		color2 = "red"
	}
}

RAG = { # Ragusa
	pattern = "pattern_border_of_4.dds"
	color1 = "white"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_letter_s.dds"
		color1 = "yellow"
		instance = { scale = { .5 .5 }  position = { 0.25 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "yellow"
		instance = { scale = { .5 .5 }  position = { 0.75 0.5 } }
	}
	textured_emblem = {
		texture = "te_ragusa.dds"
		instance = { scale = { .9 .9 } position = { 0.50 0.50 } }
	}		
}
RAG_war = {
	pattern = "pattern_border_of_4.dds"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_letter_s.dds"
		color1 = "white"
		instance = { scale = { .5 .5 }  position = { 0.25 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "white"
		instance = { scale = { .5 .5 }  position = { 0.75 0.5 } }
	}
	textured_emblem = {
		texture = "te_ragusa.dds"
		instance = { scale = { .9 .9 } position = { 0.50 0.50 } }
	}		
}
RAG_fascist = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "white"

	textured_emblem = {
		texture = "te_ragusa.dds"
		instance = { scale = { .9 .9 } position = { 0.50 0.50 } }
	}		
}
RAG_monarchy = {
	pattern = "pattern_border_of_4.dds"
	color1 = "blue"
	color2 = "yellow"

	textured_emblem = {
		texture = "te_ragusa_monarchy.dds"
		instance = { scale = { .8 .8 } position = { 0.50 0.50 } }
	}		
}
RAG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.10 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.20 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.30 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.45 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.6 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.7 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.8 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_s.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.9 0.5 } }
	}		
}
RAG_free_state = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_letter_l.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.10 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_i.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.20 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_b.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.30 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_e.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.45 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_r.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.6 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_t.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.7 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_a.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.8 0.5 } }
	}
	colored_emblem = {
		texture = "ce_letter_s.dds"
		color1 = "yellow"
		instance = { scale = { .5 .4 }  position = { 0.9 0.5 } }
	}		
}

TRT_theocracy = { #Prince-Bishopric of Trent 
	pattern = "pattern_horizontal_split_01.tga"
	color1 = "white"
	color2 = "green"

	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "black"
		color2 = "yellow"
		instance = { scale = { 1 1 }  position = { 0.5 0.5 } }
	}		
}
TRT = { #Prince-Bishopric of Trent, Secularized 
	pattern = "pattern_solid.tga"
	color1 = rgb { 135 0 68 }

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = rgb { 135 0 68 }
	}

	textured_emblem = {
		texture = "te_trent_sec.dds"
		instance = { scale = { 1 .7 } position = { 0.50 0.62 } }
	}
}

VEN = {
	pattern = "pattern_venice_hell.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	textured_emblem = {
		texture = "te_venice_peace.dds"
		instance = { scale = { .5 .5 } position = { 0.28 0.50 } }
	}
}
VEN_war = {
	pattern = "pattern_venice_hell.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	textured_emblem = {
		texture = "te_venice_war.dds"
		instance = { scale = { .5 .5 } position = { 0.28 0.50 } }
	}
}

CYP_subject = {
	pattern = "pattern_venice_hell.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	textured_emblem = {
		texture = "te_venice_cyprus.dds"
		instance = { scale = { .5 .5 } position = { 0.28 0.50 } }
	}
}

CRE_subject = {
	pattern = "pattern_venice_hell.dds"
	color1 = "red"
	color2 = "yellow"
	color3 = "blue"

	textured_emblem = {
		texture = "te_venice_crete.dds"
		instance = { scale = { .5 .5 } position = { 0.28 0.50 } }
	}
}

SAR = { #Sardinia
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.24 0.2 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.24 0.8 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.8 0.2 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.8 0.8 } }
	}	
}
SAR_subject_ARA = {
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.24 0.2 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.24 0.8 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.8 0.2 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { scale = { 0.4 0.4 } position = { 0.8 0.8 } }
	}	
}

FRA = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow_dark"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.10 0.10 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.10 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.10 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.10 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.10 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.30 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.30 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.30 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.30 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.50 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.70 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.70 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.70 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.70 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.90 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.90 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.90 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.90 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.90 } scale = { @sm_fra @sm_fra } }
	}	
}
FRA_republic = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}
FRA_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "yellow_dark"

	colored_emblem = {
		texture = "ce_fleur_quebec.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.10 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.20 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.40 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 0.60 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.10 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.30 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.50 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.70 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.90 0.80 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.00 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.20 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.40 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.60 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 0.80 1.00 } scale = { @sm_fra @sm_fra } }
		instance = { position = { 1.00 1.00 } scale = { @sm_fra @sm_fra } }
	}	
}

OCC_republic = { # Occitania
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"

	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = color2
		color2 = color2
	}
}
OCC_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {		
		texture = "ce_frame_circle_outline.dds"
		color1 = "red"
        instance = { position = { 0.5 0.5 } scale = { 0.64 0.64 }}
	}

	colored_emblem = {		
		texture = "ce_cross_fleury.dds"
		color1 = "red"
        instance = { position = { 0.5 0.5 } scale = { 0.64 0.64 }}
	}
}
OCC_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "yellow"
	color3 = "black"

	colored_emblem = {
		texture = "ce_hammer_sickle_star_cogwheel.dds"
		color1 = color2
		instance = { position = { 0.20 0.30 } scale = { 0.45 0.45 } } 
	}
}

IRE = { # Ireland
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_harp_ireland.dds"
		color1 = "yellow"
		color2 = "yellow"
	}
}
IRE_with_canton = {		
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {		
		texture = "ce_harp_ireland.dds"
		color1 = "yellow"
		color2 = "yellow"
        instance = { position = { 0.75 0.5 } scale = { 0.75 0.75 } }
	}
}

ENG_fascist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {		
		texture = "ce_circle.dds"
		color1 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.1 1.1 }}
	}

	colored_emblem = {		
		texture = "ce_cross_wheel.dds"
		color1 = "red"
        instance = { position = { 0.5 0.5 } scale = { 0.8 0.8 }}
	}
}
ENG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {		
		texture = "ce_stripe_bottom_raised.dds"
		color1 = "red"
	}

	colored_emblem = {
		texture = "ce_hammer_sickle_star_wreath.dds"
		color1 = "yellow"
		color2 = "red"
		color3 = "blue"
		instance = { position = { 0.20 0.30 } scale = { 0.4 0.4 } } 
	}
}

COP = { #Corsica-Piedmont
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
}
COP_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal_thick.dds"
		color1 = "white"
		color2 = "blue"
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.5 0.5 } scale = { 0.5 0.5 } }
	}
}
COP_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.65 0.65 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.3 0.35 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_crown_simple.dds"
		color1 = "yellow"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.35 0.15 } scale = { 0.6 0.6 } rotation = 25 }
	}
}
COP_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.25 0.2 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_england.dds"
		color1 = "white"
		instance = { position = { 0.5 0.5 } scale = { 1 1 } }
	}
}
COP_fascist = {
	pattern = "pattern_gironny_12_tricolor.dds"
	color1 = "white"
	color2 = "red"
	color3 = "blue"

	colored_emblem = {
		texture = "ce_circle.dds"
		color1 = "white"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.5 0.5 } scale = { 1 1 } }
	}

	colored_emblem = {
		texture = "ce_moors_head.dds"
		color1 = "black_light"
		color2 = "white"
		color3 = "white"
		instance = { position = { 0.5 0.5 } scale = { .7 .7 } }
	}
}
COP_communist = {
	pattern = "pattern_solid.tga"
	color1 = "blue"

	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_hammer_sickle_italy.dds"
		color1 = "yellow"
		color2 = "yellow"
		color3 = "yellow"
		instance = { position = { 0.25 0.25 } scale = { 0.5 0.5 } }
	}
}

ULM = { #Ulm
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_stripes_04.dds"
		color1 = color2
	}
}

FRE = { #Brandenburg-Bayreuth
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = red

	colored_emblem = {
		texture = "ce_stripe_center.dds"
		color1 = color2
	}
}

ASB = { #Ansbach
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {
		texture = "ce_per_cross.dds"
		color1 = color2
	}
}

SME = { #Saxe-Meiningen-Eisenach
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
	}
}

GRB = { #Grey League
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = white
	color3 = blue

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

FIO = { #Fribourg
	pattern = "pattern_solid.tga"
	color1 = black
	color2 = white

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
		color2 = color3
	}
}

BAE = { #Basel
	pattern = "pattern_solid.tga"
	color1 = white
	color2 = black

	colored_emblem = {		
		texture = "ce_bishop_crozier.dds"
		color1 = color2
        instance = { scale = { 0.9 0.9 } }
	}
}

AGR = { #Augsburg
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = white

	colored_emblem = {
		texture = "ce_bicolor_right.dds"
		color1 = color2
	}
}
AGR_republic = { #Augsburg
	pattern = "pattern_solid.tga"
	color1 = red
	color2 = green
	color3 = white

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = color2
		color2 = color3
	}
}

MSZ = { #Mecklenburg
	pattern = "pattern_solid.tga"
	color1 = blue
	color2 = white
	color3 = red

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}
}

OSN = { #Osnabruck
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "red"

	colored_emblem = {
		texture = "ce_osna.dds"
		color1 = color2
		instance = { scale = { 0.7 0.7 } }	
	}
}
OSN_republic = { #Osnabruck
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "blue"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color2
		color2 = color3
	}

	colored_emblem = {
		texture = "ce_osna.dds"
		color1 = "black"
		instance = { scale = { 0.24 0.24 } position = { 0.15 0.15 } }	
	}
}

AUS = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
}
AUS_republic = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	textured_emblem = {
		texture = "te_eagle_shield_white_cross.dds"
		instance = { scale = { 0.45 0.45 } position = { 0.15 0.2 } }	
	}
}
AUS_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}

	#textured_emblem = {
	#	texture = "te_austria_monarchist.dds"
	#	instance = { scale = { 0.69 0.69 } position = { 0.5 0.5 } }	
	#}
}
AUS_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	color3 = "black"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_eagle_double_headed.dds"
		color1 = "black"
		color2 = "yellow"
		color3 = "white"		
		instance = { scale = { 0.85 0.85 } position = { 0.5 0.5 } }
	}	
}
AUS_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	color2 = "white"
	
	colored_emblem = {		
		texture = "ce_cross_cotised.dds"
		color1 = "white"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { 1.0 1.0 } }
	}		
}
AUS_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "red"
	}

	textured_emblem = {
		texture = "te_austria_communist.dds"
		instance = { scale = { 0.59 0.59 } position = { 0.5 0.5 } }	
	}
}
AUS_fascist = {
	# Flag of Fatherland's Front
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = "white"
		color2 = "red"
	}	
	colored_emblem = {
		texture = "ce_frame_circle.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}
	colored_emblem = {
		texture = "ce_cross_fatherland_front.dds"
		color1 = "red"
		color2 = "white"
		instance = { scale = { 0.66 0.66 } position = { 0.5 0.5 } }
	}	
}
AUS_subject = {
	pattern = "pattern_solid.tga"
	color1 = "red"
	
	textured_emblem = {
		texture = "te_austria_monarchist.dds"
		instance = { scale = { 0.5 0.5 } position = { 0.5 0.5 } }	
	}
}

BAV = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}
}
BAV_republic  = { 
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_tricolor_vertical.dds"
		color1 = "white"
		color2 = "yellow"
	}
}
BAV_absolute_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}

	#colored_emblem = {
	#	texture = "ce_lion_rampant_crowned.dds"
	#	color1 = "yellow"
	#	color2 = "red"
	#	color3 = "white"
	#	instance = { scale = { 0.5 0.5 } position = { 0.75 0.5 } }
	#	instance = { scale = { 0.5 0.5 } position = { 0.25 0.5 } }		
	#}		
}
BAV_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	color2 = "white"
	
	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }			
	}	
	textured_emblem = {
		texture = "te_keys_st_peter.dds"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.24 } }
	}	
}
BAV_communist = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_bicolor_bottom.dds"
		color1 = "blue_light"
		color2 = "blue_light"
	}
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { scale = { 0.72 0.72 } position = { 0.5 0.5 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "red"
		color2 = "red"
		instance = { scale = { 0.6 0.6 } position = { 0.5 0.5 } }
	}		
}

TRC = {
	pattern = "pattern_solid.tga"
	color1 = "green"
	color2 = "white"

	colored_emblem = {
		texture = "ce_crescent_star_05_rotated.dds"
		color1 = color2
	}
}
TRC_monarchy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	textured_emblem = {
		texture = "te_round_arabesque.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.5 } }	
	}
}
